package com.neuedu.yyzx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class NurseRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 客户姓名
     */
    @TableField("customer_name")
    private String customerName;

    /**
     * 护理项目
     */
    @TableField("nursing_project")
    private String nursingProject;

    /**
     * 护理时间
     */
    @JsonFormat(pattern = "yyyy-mm-dd HH:mm:ss",timezone = "GMT+8")
    @TableField("nursing_time")
    private Date nursingTime;

    /**
     * 数量
     */
    @TableField("number")
    private String number;

    /**
     * 护理内容
     */
    @TableField("content")
    private String content;


    /**
     * 护理人员
     */
    @TableField("nursing_staff")
    private String nursingStaff;

    /**
     * 1-已删除 0未删除
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
